//自定义评论列表
#my-custom-comment {
  margin-top: 30px;

  ol.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;

    .comment-parent,
    .comment-children {
      margin-bottom: 16px;
    }

    .comment-parent .media .comment-form {
      margin-left: 42px;
    }

    .comment-children {
      .comment-child {
        padding: 12px;
        margin-left: 42px;
        background-color: #fafbfc;
        border-radius: 3px;
      }
    }

    .media {
      .media-img {
        float: left;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        overflow: hidden;

        img {
          @include imgFit();
        }
      }

      .media-body {
        margin-left: 42px;

        a {
          color: inherit;
          text-decoration: none;
        }

        .media-body-head {
          line-height: 1;
          display: flex;
          align-items: center;

          @media screen and (max-width:400px) {
            display: block;

            span.author-browser {
              margin-left: 0;
            }

            span.author-browser,
            span.author-system {
              display: inline-block;
              vertical-align: top;
              margin-top: 5px;
            }
          }

          .author-name {
            font-size: 14px;
            color: #333;
            // font-weight: normal;
          }

          .author-browser,
          .author-system {
            flex-shrink: 0;
            font-size: 12px;
            margin-left: 5px;
            border-radius: 3px;
            padding: 1px 2px;
          }

          .author-browser {
            color: #999;
          }

          .author-system {
            color: #869aab;
          }
        }

        .author-comment {
          margin-top: 6px;
          font-size: 13px;
          line-height: 1.7;
          color: #505050;
          word-wrap: break-word;
          // white-space: pre-wrap;

          .relation {
            float: left;
            margin-right: 5px;
            color: #599DFF;

            &:hover,
            &:active {
              opacity: .7;
            }
          }

          //评论审核提示
          .comment-check {
            font-size: 12px;
            line-height: 1;
            color: #F36262;
            margin-top: 3px;
          }

          //表情
          img {
            width: 20px;
            height: 20px;
            vertical-align: sub;
            margin-left: 4px;

            &+img {
              margin-right: 2px;
            }
          }
        }

        .comment-outher {
          margin-top: 7px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;

          .comment-time {
            font-size: 13px;
            color: #8a9aa9;
          }

          .comment-reply {
            font-size: 13px;
            color: #8a93a0;

            .icon {
              font-size: 13px;
              margin-right: 5px;
            }
          }
        }
      }

      //回复的表单颜色加深
      .comment-form {
        margin-top: 10px;
        box-shadow: 0 0 8px 0 rgba(0, 127, 255, 0.17);
      }
    }

    .comment-child {
      .comment-dividing {
        margin-top: 15px;
        margin-bottom: 0;
      }
    }

    .comment-dividing {
      border-bottom: 1px solid #f1f1f1;
      margin: 15px 0;
      margin-left: 42px;
    }

  }
}